
from  stack import Stack

if __name__ == '__main__':

    for i in range(1, 10):
        for j in range(1, i + 1):
            print('%d * %d = %d\t' % (i, j, i * j), end='')
        print()

    stack = Stack()

    for i in range(10):
        stack.push(i)

    print(stack.view())
    print(stack.pop())
    print(stack.view())
    print(stack.top())
    print(stack.view())
